import { createStore } from "vuex";
import user from "./user";
const store = createStore({
  state() {
    return {
      count: 10000,
    };
  },
  mutations: {
    add(state, payload) {
      state.count += payload;
    },
  },
  actions: {},
  getters: {},
  modules: {
    user,
  },
});

export default store;
